projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e38a1a
)
(Fprevious_single_char_property_change): Return 0
author
Martin Rudalics
<rudalics@gmx.at>
Mon, 3 Nov 2008 17:31:56 +0000
(17:31 +0000)
committer
Martin Rudalics
<rudalics@gmx.at>
Mon, 3 Nov 2008 17:31:56 +0000
(17:31 +0000)
when there's no change in a string. (Bug#1301)
src/ChangeLog
patch
|
blob
|
history
src/textprop.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 787ed51658fc41fab3d7d4ca550a8db6b37c3418..e78abfd021f5da6704ade12b9c77d2fae876ecff 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2008-11-03 Martin Rudalics <rudalics@gmx.at>
+
+ * textprop.c (Fprevious_single_char_property_change): Return 0
+ when there's no change in a string. (Bug#1301)
+
2008-11-02 Martin Rudalics <rudalics@gmx.at>
* frame.c (do_switch_frame): New argument NORECORD passed to
diff --git
a/src/textprop.c
b/src/textprop.c
index 6bc1938fadf163c46f3f57c22b8c6453e4bb90e4..120c42843febc4d887791abe74942f36cfe9ad74 100644
(file)
--- a/
src/textprop.c
+++ b/
src/textprop.c
@@
-883,7
+883,7
@@
back past position LIMIT; return LIMIT if nothing is found before LIMIT. */)
if (NILP (position))
{
if (NILP (limit))
- position = make_number (
SCHARS (object)
);
+ position = make_number (
0
);
else
{
CHECK_NUMBER (limit);